# -*- coding: utf-8 -*-
from dotenv import load_dotenv
from application import create_app

# 加载环境变量
load_dotenv()
flask_app = create_app()
celery_app = flask_app.extensions['celery']

# 自动加载可用的任务
# celery_app.autodiscover_tasks()
